// 用户模块的状态管理
export default {
	namespaced: true, // 命名空间
	state: {
		username: '测试用户',
		departmentName: '', // 科室
	},
	mutations: {
		updateName(state, payload) {
			state.username = payload
		},
		setDepartmentName(state, item) {
			state.departmentName = item
		},
	},
	actions: {

	}
}